<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="bootstrap-5.3.0-dist/css/bootstrap.min.css">
</head>
<body>
  <div class="container">
    <form action="">
      <div class="mt-2">
        <label for="name" class="form-label">项目名称：</label>
        <input type="text" id="name" class="form-control" placeholder="请输入项目名称">
      </div>
      <div class="mt-2">
        <label for="range" class="form-label">完成进度：</label>
        <input type="range" id="range">
        <span id="rangeValue"></span>
      </div>
      <div class="mt-2">
        <label for="file" class="form-label">提交项目：</label>
        <input type="file" id="file">
        <div class="form-text">每周五提交项目</div>
      </div>
      <div class="mt-2">
        <label for="ustrate" class="form-label">描述本周实现的功能</label>
        <textarea class="form-control" id="ustrate" rows="3"></textarea>
      </div>
      <div class="my-2">
        <label for="text" class="form-label">提交人员：</label>
        <input type="text" id="text" class="form-control">
      </div>
      <button type="submit" class="text-white bg-primary border-0 rounded-1 px-3 py-1">提交</button>
    </form>
  </div>
  <script>
    var rangeInput = document.getElementById('range');
    var rangeValue = document.getElementById('rangeValue')
    rangeValue.textContent = rangeInput.value + '%';
    rangeInput.addEventListener('input', function () {
      rangeValue.textContent = rangeInput.value + '%';
    });
  </script>
</body>
</html>